using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPR.Poker.Model.SYS
{
    public class SYS_Tournament
    {
        #region Member
        private int m_IDSys = 0;
        private string m_TournamentName = string.Empty;
        private DateTime? m_BeginDate;
        private DateTime? m_EndDate;
        private string m_Description = string.Empty;
        private string m_ImageUrl = string.Empty;
        private decimal m_AwardTotal = 0;
        private int m_StepNumber = 0;
        private bool m_IsStepChoosed = false;
        private bool m_IsEnd = false;
        private bool m_IsActived = false;
        private int m_OrderIndex = 0;
        private bool m_IsDeleted = false;
        private DateTime? m_DeletedDate;
        #endregion
        #region Properties
        /// <summary>
        /// IDSys
        /// 
        /// </summary>
        [Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int IDSys
        {
            get { return m_IDSys; }
            set { m_IDSys = value; }
        }
        /// <summary>
        /// TournamentName
        /// Tên giải đấu
        /// </summary>
        public string TournamentName
        {
            get { return m_TournamentName; }
            set { m_TournamentName = value; }
        }
        /// <summary>
        /// BeginDate
        /// Thời gian bắt đầu
        /// </summary>
        public DateTime? BeginDate
        {
            get { return m_BeginDate; }
            set { m_BeginDate = value; }
        }
        /// <summary>
        /// EndDate
        /// Thời gian kết thúc
        /// </summary>
        public DateTime? EndDate
        {
            get { return m_EndDate; }
            set { m_EndDate = value; }
        }
        /// <summary>
        /// Description
        /// Mô tả
        /// </summary>
        public string Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        /// <summary>
        /// ImageUrl
        /// 
        /// </summary>
        public string ImageUrl
        {
            get { return m_ImageUrl; }
            set { m_ImageUrl = value; }
        }
        /// <summary>
        /// AwardTotal
        /// Tổng giải thưởng
        /// </summary>
        public decimal AwardTotal
        {
            get { return m_AwardTotal; }
            set { m_AwardTotal = value; }
        }
        /// <summary>
        /// StepNumber
        /// Số Step
        /// </summary>
        public int StepNumber
        {
            get { return m_StepNumber; }
            set { m_StepNumber = value; }
        }
        /// <summary>
        /// IsStepChoosed
        /// Được chọn step không?
        /// </summary>
        public bool IsStepChoosed
        {
            get { return m_IsStepChoosed; }
            set { m_IsStepChoosed = value; }
        }
        /// <summary>
        /// IsEnd
        /// Đã kết thúc
        /// </summary>
        public bool IsEnd
        {
            get { return m_IsEnd; }
            set { m_IsEnd = value; }
        }
        /// <summary>
        /// IsActived
        /// Kích hoạt
        /// </summary>
        public bool IsActived
        {
            get { return m_IsActived; }
            set { m_IsActived = value; }
        }
        /// <summary>
        /// OrderIndex
        /// Thứ tự
        /// </summary>
        public int OrderIndex
        {
            get { return m_OrderIndex; }
            set { m_OrderIndex = value; }
        }
        /// <summary>
        /// IsDeleted
        /// Xóa
        /// </summary>
        public bool IsDeleted
        {
            get { return m_IsDeleted; }
            set { m_IsDeleted = value; }
        }
        /// <summary>
        /// DeletedDate
        /// 
        /// </summary>
        public DateTime? DeletedDate
        {
            get { return m_DeletedDate; }
            set { m_DeletedDate = value; }
        }
        #endregion
        #region Constructor
        public SYS_Tournament()
        {
        }
        #endregion
        #region Column Names
        public const String colIDSys = "IDSys";
        public const String colTournamentName = "TournamentName";
        public const String colBeginDate = "BeginDate";
        public const String colEndDate = "EndDate";
        public const String colDescription = "Description";
        public const String colImageUrl = "ImageUrl";
        public const String colAwardTotal = "AwardTotal";
        public const String colStepNumber = "StepNumber";
        public const String colIsStepChoosed = "IsStepChoosed";
        public const String colIsEnd = "IsEnd";
        public const String colIsActived = "IsActived";
        public const String colIsDeleted = "IsDeleted";
        public const String colDeletedDate = "DeletedDate";
        #endregion
    }
}
